<?php

function displayHeader() {
	global $config;
	echo"	<html>";
	echo"		<head>";
	echo"		<div align='center'>";
	echo"			<title>".$config['pagetitle']."</title>";
	echo"			<link type=\"text/css\" rel=\"stylesheet\" href=\"css/style.css\">";
	echo"		</head>";
	echo"		<body>";
	echo"			<div id='body'>";
}

function getCurrentAction() {
	global $config;
	
	if(isset($_GET['action']) == true) {
		return $_GET['action'];
	}
	else {
		return $config['defaultaction'];
	}
}
?>